<?php
/**
 * The template for displaying Search Results pages.
 *
 * @package WordPress
 * @subpackage Twenty_Ten
 * @since Twenty Ten 1.0
 */

get_header(); ?>


<div class="center_wrapper">
		<div class="main_content padding15px">	
			
			
			
			<div class="group">
				
					<?php if ( have_posts() ) : ?>
						<div class="group title_wrapper">
							<div class="left"><img src="<?php bloginfo( 'template_url' ); ?>/images/content_logo.png" alt="content logo" /></div>
							<div class="left title_holder">
								<h1 class="entry-title">
									<span>
										<?php printf( __( 'Search for: %s', 'twentyten' ), '<span>' . get_search_query() . '</span>' ); ?>
									</span>
								</h1>
							</div>
						</div>
						<div class="blog_content_left left">
							<?php
							/* Run the loop for the search to output the results.
							 * If you want to overload this in a child theme then include a file
							 * called loop-search.php and that will be used instead.
							 */
							 get_template_part( 'loop', 'search' );
							?>
						</div>
					<?php else : ?>
						
						<div class="group title_wrapper">
							<div class="left"><img src="<?php bloginfo( 'template_url' ); ?>/images/content_logo.png" alt="content logo" /></div>
							<div class="left title_holder">
								<h1 class="entry-title">
									<span>
										<?php _e( 'Nothing Found', 'twentyten' ); ?>
									</span>
								</h1>
							</div>
						</div>
						<div class="blog_content_left left" style="margin-top:100px;">
						
							<div class="entry-content" style="text-align:center">
								<p class="bold">
								<?php _e( 'Sorry, but nothing matched your search criteria. Please try again with some different keywords.', 'twentyten' ); ?>
								</p>
								<?php //get_search_form(); ?>
								<form role="search" method="get" id="searchform" action="<?php echo home_url( '/' ); ?>" class="search-form" style="width:400px; margin:0 auto">
					
									<div class="control-group">
										<div class="controls"><input type="text" placeholder="Search" id="s" name="s" class="field"></div>
									</div>
									<span class="submit-wrapper"><input type="submit" value="Search" name="submit" class="submit"></span>
						
								</form>
							</div><!-- .entry-content -->
						</div>
						
					<?php endif; ?>
					
				
				<div class="blog_content_right right">
					<div id="sidebar">
						<?php get_sidebar(); ?>
					</div>
				</div>
			</div>

		</div>	
</div>

<?php get_footer(); ?>
